package com.vben.system.api.vo.loginLog;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户登陆日志封装信息
 *
 * @author sunnfun
 */
@Data
public class SysUserLoginLogVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Long logId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime loginTime;

    private String username;

    private String clientIp;

    private String deviceInfo;

    private String browserInfo;

    private String loginId;
}
